3.1526 \(\int (d+e x) \left (9+12 x+4 x^2\right )^3 \, dx\)

Optimal. Leaf size=31 \[ \frac{1}{28} (2 x+3)^7 (2 d-3 e)+\frac{1}{32} e (2 x+3)^8 \]

[Out]

((2*d - 3*e)*(3 + 2*x)^7)/28 + (e*(3 + 2*x)^8)/32

_______________________________________________________________________________________

Rubi [A]  time = 0.0420429, antiderivative size = 31, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 18, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.111 \[ \frac{1}{28} (2 x+3)^7 (2 d-3 e)+\frac{1}{32} e (2 x+3)^8 \]

Antiderivative was successfully verified.

[In]  Int[(d + e*x)*(9 + 12*x + 4*x^2)^3,x]

[Out]

((2*d - 3*e)*(3 + 2*x)^7)/28 + (e*(3 + 2*x)^8)/32

_______________________________________________________________________________________

Rubi in Sympy [A]  time = 12.4097, size = 24, normalized size = 0.77 \[ \frac{e \left (2 x + 3\right )^{8}}{32} + \left (\frac{d}{14} - \frac{3 e}{28}\right ) \left (2 x + 3\right )^{7} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate((e*x+d)*(4*x**2+12*x+9)**3,x)

[Out]

e*(2*x + 3)**8/32 + (d/14 - 3*e/28)*(2*x + 3)**7

_______________________________________________________________________________________

Mathematica [B]  time = 0.0295818, size = 81, normalized size = 2.61 \[ \frac{64}{7} x^7 (d+9 e)+24 x^6 (4 d+15 e)+432 x^5 (d+2 e)+135 x^4 (8 d+9 e)+324 x^3 (5 d+3 e)+\frac{729}{2} x^2 (4 d+e)+729 d x+8 e x^8 \]

Antiderivative was successfully verified.

[In]  Integrate[(d + e*x)*(9 + 12*x + 4*x^2)^3,x]

[Out]

729*d*x + (729*(4*d + e)*x^2)/2 + 324*(5*d + 3*e)*x^3 + 135*(8*d + 9*e)*x^4 + 43
2*(d + 2*e)*x^5 + 24*(4*d + 15*e)*x^6 + (64*(d + 9*e)*x^7)/7 + 8*e*x^8

_______________________________________________________________________________________

Maple [B]  time = 0.003, size = 84, normalized size = 2.7 \[ 8\,e{x}^{8}+{\frac{ \left ( 64\,d+576\,e \right ){x}^{7}}{7}}+{\frac{ \left ( 576\,d+2160\,e \right ){x}^{6}}{6}}+{\frac{ \left ( 2160\,d+4320\,e \right ){x}^{5}}{5}}+{\frac{ \left ( 4320\,d+4860\,e \right ){x}^{4}}{4}}+{\frac{ \left ( 4860\,d+2916\,e \right ){x}^{3}}{3}}+{\frac{ \left ( 2916\,d+729\,e \right ){x}^{2}}{2}}+729\,dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int((e*x+d)*(4*x^2+12*x+9)^3,x)

[Out]

8*e*x^8+1/7*(64*d+576*e)*x^7+1/6*(576*d+2160*e)*x^6+1/5*(2160*d+4320*e)*x^5+1/4*
(4320*d+4860*e)*x^4+1/3*(4860*d+2916*e)*x^3+1/2*(2916*d+729*e)*x^2+729*d*x

_______________________________________________________________________________________

Maxima [A]  time = 0.685584, size = 104, normalized size = 3.35 \[ 8 \, e x^{8} + \frac{64}{7} \,{\left (d + 9 \, e\right )} x^{7} + 24 \,{\left (4 \, d + 15 \, e\right )} x^{6} + 432 \,{\left (d + 2 \, e\right )} x^{5} + 135 \,{\left (8 \, d + 9 \, e\right )} x^{4} + 324 \,{\left (5 \, d + 3 \, e\right )} x^{3} + \frac{729}{2} \,{\left (4 \, d + e\right )} x^{2} + 729 \, d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((e*x + d)*(4*x^2 + 12*x + 9)^3,x, algorithm="maxima")

[Out]

8*e*x^8 + 64/7*(d + 9*e)*x^7 + 24*(4*d + 15*e)*x^6 + 432*(d + 2*e)*x^5 + 135*(8*
d + 9*e)*x^4 + 324*(5*d + 3*e)*x^3 + 729/2*(4*d + e)*x^2 + 729*d*x

_______________________________________________________________________________________

Fricas [A]  time = 0.180429, size = 1, normalized size = 0.03 \[ 8 x^{8} e + \frac{576}{7} x^{7} e + \frac{64}{7} x^{7} d + 360 x^{6} e + 96 x^{6} d + 864 x^{5} e + 432 x^{5} d + 1215 x^{4} e + 1080 x^{4} d + 972 x^{3} e + 1620 x^{3} d + \frac{729}{2} x^{2} e + 1458 x^{2} d + 729 x d \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((e*x + d)*(4*x^2 + 12*x + 9)^3,x, algorithm="fricas")

[Out]

8*x^8*e + 576/7*x^7*e + 64/7*x^7*d + 360*x^6*e + 96*x^6*d + 864*x^5*e + 432*x^5*
d + 1215*x^4*e + 1080*x^4*d + 972*x^3*e + 1620*x^3*d + 729/2*x^2*e + 1458*x^2*d
+ 729*x*d

_______________________________________________________________________________________

Sympy [A]  time = 0.157223, size = 76, normalized size = 2.45 \[ 729 d x + 8 e x^{8} + x^{7} \left (\frac{64 d}{7} + \frac{576 e}{7}\right ) + x^{6} \left (96 d + 360 e\right ) + x^{5} \left (432 d + 864 e\right ) + x^{4} \left (1080 d + 1215 e\right ) + x^{3} \left (1620 d + 972 e\right ) + x^{2} \left (1458 d + \frac{729 e}{2}\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((e*x+d)*(4*x**2+12*x+9)**3,x)

[Out]

729*d*x + 8*e*x**8 + x**7*(64*d/7 + 576*e/7) + x**6*(96*d + 360*e) + x**5*(432*d
 + 864*e) + x**4*(1080*d + 1215*e) + x**3*(1620*d + 972*e) + x**2*(1458*d + 729*
e/2)

_______________________________________________________________________________________

GIAC/XCAS [A]  time = 0.209821, size = 122, normalized size = 3.94 \[ 8 \, x^{8} e + \frac{64}{7} \, d x^{7} + \frac{576}{7} \, x^{7} e + 96 \, d x^{6} + 360 \, x^{6} e + 432 \, d x^{5} + 864 \, x^{5} e + 1080 \, d x^{4} + 1215 \, x^{4} e + 1620 \, d x^{3} + 972 \, x^{3} e + 1458 \, d x^{2} + \frac{729}{2} \, x^{2} e + 729 \, d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((e*x + d)*(4*x^2 + 12*x + 9)^3,x, algorithm="giac")

[Out]

8*x^8*e + 64/7*d*x^7 + 576/7*x^7*e + 96*d*x^6 + 360*x^6*e + 432*d*x^5 + 864*x^5*
e + 1080*d*x^4 + 1215*x^4*e + 1620*d*x^3 + 972*x^3*e + 1458*d*x^2 + 729/2*x^2*e
+ 729*d*x